package com.storm.lib.type;
/**
 * 类功能: 日志类型
 * @author johnny
 * @version 2011-4-22
 */
public class LogType {
	
	/**
	 * 数据批量删除最大数
	 */
	public static final long DEL_MAX_COUNT = 500000;
	/**
	 * 日志保存最大数
	 */
	public static final Short LOG_MAX_COUNT = 30;
	/**
	 * 战斗信息状态(1.需要删除)
	 */
	public static final int BATTLE_STATE = 1;
	/**
	 * 定时器状态(需要删除)
	 */
	public static final int TIMER_TYPE = 1;

	/**
	 * 角色登录
	 */
	public static final Short LOG_TYPE_ROLE_LOGIN = 1;

	/**
	 * 角色登出
	 */
	public static final Short LOG_TYPE_ROLE_LOGOFF = 2;
	
	/**
	 * 征兵
	 */
	public static final Short LOG_TYPE_DRAFT_ARMY = 3;
	
	/**
	 * 解散
	 */
	public static final Short LOG_TYPE_RELEASE_ARMY = 4;
	/**
	 * 出售资源
	 */
	public static final Short LOG_TYPE_SELL_RESOURCE = 5;
	/**
	 * 升级科技
	 */
	public static final Short LOG_TYPE_TEACH_LEVEL_UP = 6;
	/**
	 * 升级建筑
	 */
	public static final Short LOG_TYPE_BUILDING_LEVEL_UP = 7;
	/**
	 * 加速建筑或科技升级
	 */
	public static final Short LOG_TYPE_ACCELERATE = 8;
	/**
	 * 取消建筑升级
	 */
	public static final Short LOG_TYPE_CANCLE_BUILDING_LEVEL_UP = 9;
	/**
	 * 取消科技升级
	 */
	public static final Short LOG_TYPE_CANCLE_TEACH_LEVEL_UP = 10;
	/**
	 * 购买商品
	 */
	public static final Short LOG_TYPE_BUY_GOODS = 11;
	/**
	 * 武将改名
	 */
	public static final Short LOG_TYPE_CHANGE_HERO_NAME = 12;
	/**
	 * 招募武将
	 */
	public static final Short LOG_TYPE_CREATE_HERO = 13;
	/**
	 * 指卖出道具
	 */
	public static final Short LOG_TYPE_SELL_ITEM_BATCH = 14;
	/**
	 * 挂机
	 */
	public static final Short LOG_TYPE_OUTO_PLAY = 15;
	/**
	 * 财富发生变化
	 */
	public static final Short LOG_TYPE_WEALTH_CHANGE = 16;
	/**
	 * 修复了错误数据
	 */
	public static final Short LOG_TYPE_DATA_ERR = 17;
	/**
	 * 异常信息(当连接不到中央服务器时,暂时把异常信息保存在用户日志数据库中)
	 */
	public static final Short LOG_TYPE_EXCEPTION = 18;
}
